package cc.linker.steplink.crm.merchanth5.service.acs;

import cc.linker.steplink.crm.merchanth5.pojo.H5UserAccountPo;
import cc.linker.steplink.crm.response.GlobalException;

import java.util.List;
import java.util.Map;

public interface H5RechargeService {

    Map getRechargeInfo(String rechargeSn);

    Map rechargeByRechargeSn(Map<String, Object> param);

    /**
     * 根据机构和费用类型查询分账配置账号id
     *
     * @param type  见FeeConstants
     * @param orgId 机构id
     */
    String getCustomerIdByFeeTypeAndOrdId(String type, String orgId, Integer payMode) throws GlobalException;

    /**
     * 调用结果处理(中金)
     */
    String callResultProcess(String result) throws GlobalException;

    void callback(Map<String, Object> param);

    void updateAccountMoney(String orderSn);

    void beforeAgentPay(List<H5UserAccountPo> accountList);
}
